Optimal. Leaf size=24 \[ \frac{a \sinh (c+d x)}{d}+\frac{b \tan ^{-1}(\sinh (c+d x))}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0298312, antiderivative size = 24, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.105, Rules used = {4045, 3770} \[ \frac{a \sinh (c+d x)}{d}+\frac{b \tan ^{-1}(\sinh (c+d x))}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4045
Rule 3770
Rubi steps
\begin{align*} \int \cosh (c+d x) \left (a+b \text{sech}^2(c+d x)\right ) \, dx &=\frac{a \sinh (c+d x)}{d}+b \int \text{sech}(c+d x) \, dx\\ &=\frac{b \tan ^{-1}(\sinh (c+d x))}{d}+\frac{a \sinh (c+d x)}{d}\\ \end{align*}
Mathematica [A] time = 0.0171176, size = 35, normalized size = 1.46 \[ \frac{a \sinh (c) \cosh (d x)}{d}+\frac{a \cosh (c) \sinh (d x)}{d}+\frac{b \tan ^{-1}(\sinh (c+d x))}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.031, size = 26, normalized size = 1.1 \begin{align*}{\frac{a\sinh \left ( dx+c \right ) }{d}}+2\,{\frac{b\arctan \left ({{\rm e}^{dx+c}} \right ) }{d}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.60006, size = 38, normalized size = 1.58 \begin{align*} -\frac{2 \, b \arctan \left (e^{\left (-d x - c\right )}\right )}{d} + \frac{a \sinh \left (d x + c\right )}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.15015, size = 266, normalized size = 11.08 \begin{align*} \frac{a \cosh \left (d x + c\right )^{2} + 2 \, a \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + a \sinh \left (d x + c\right )^{2} + 4 \,{\left (b \cosh \left (d x + c\right ) + b \sinh \left (d x + c\right )\right )} \arctan \left (\cosh \left (d x + c\right ) + \sinh \left (d x + c\right )\right ) - a}{2 \,{\left (d \cosh \left (d x + c\right ) + d \sinh \left (d x + c\right )\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a + b \operatorname{sech}^{2}{\left (c + d x \right )}\right ) \cosh{\left (c + d x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.19392, size = 55, normalized size = 2.29 \begin{align*} \frac{2 \, b \arctan \left (e^{\left (d x + c\right )}\right )}{d} + \frac{a e^{\left (d x + c\right )}}{2 \, d} - \frac{a e^{\left (-d x - c\right )}}{2 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]